package com.cqjtu.tto.dao.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cqjtu.tto.dao.pojo.PermissionsRole;
import com.cqjtu.tto.dao.pojo.Role;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface RoleMapper extends BaseMapper<Role> {
    // 通过roleIdList查询
    List<Role> listRoleByRoleId(@Param("ids")List<Long> ids);
}
